<?php
class IndexController extends Zend_Controller_Action {
	
	public function indexAction(){
		//$user = new My_Model_User();
		//print_r($user->fetchAll($user->select()->limit(1))->toArray());
		$this->_helper->viewRenderer->setNoRender();
		//print_r(My_Model_Category::getInstance()->getAllCategories());
		//print_r($this->getRequest()->getParams());
		//My_Globals::getStorage();
		//print_r(Category::getInstance()->getCategory(4));
		//print_r(Category::getInstance()->getCategoryByAlias('category'));
		//print_r(Category::getInstance()->checkCategoryAliasExist('categoryupdatexx'));
		$c = array(
			//'category_id' => 4,
			'category_name' => 'helloupdatex',
			'category_alias' => 'categoryupdatex'
		);
		//print_r(Category::getInstance()->deleteCategory(12));
		//echo Tour::getInstance()->getAmount();
		//print_r(Tag::getInstance()->getTagsOfTour(1));
		print_r(Topic::getInstance()->getTopicList(1, 10));
	}
}